export const i18nConfig = {
  defaultNS: 'common',
  fallbackLng: 'zh',
  supportedLngs: ['zh', 'en'],
  ns: ['common', 'auth', 'category', 'knowledge', 'question'],
  backend: {
    loadPath: '/locales/{{lng}}/{{ns}}.json',
  },
  detection: {
    order: ['cookie', 'localStorage', 'navigator'],
    caches: ['cookie'],
  },
};